<template>
    <div class="alease_title_left">
        <div class="title-text">
            <div>{{ props.title }}</div>
            <span>{{ props.subTitle }}</span>
        </div>
    </div>
</template>

<script lang="ts" setup>
const props = defineProps({
    title: {
        type: String,
        default: '二级标题'
    },
    subTitle: {
        type: String,
        default: ''
    }
})
</script>

<style lang="scss" scoped>
.alease_title_left {
    position: relative;
    font-family: Tencent;
    color: #ffffff;
    width: 100%;
    height: 36px;
    font-size: 32px;
    background: url('img/sub_titbg.png') no-repeat;
    background-size: 100% 100%;
    text-shadow: 0 0px 5px rgba(118, 168, 200, 1);
    margin-top: 10px;
    margin-bottom: 10px;
    .title-text {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        padding-left: 120px;
        padding-bottom: 8px;
        font-family: Tencent, serif;
        color: #f6f8ff;
        letter-spacing: 1.6px;
        span {
            font-family: OPPOSans;
            font-size: 30px;
            margin-left: 20px;
            color: #ffffffa9;
            text-shadow: none;
        }
    }
}
</style>
